package fr.gdi.android.news.api.share;

@SuppressWarnings("serial")
public class MessageTooLongException extends ShareException
{

    private int maxLength, actualLength;
    
    public MessageTooLongException(int maxLength, int actualLength)
    {
        super();
        this.maxLength = maxLength;
        this.actualLength = actualLength;
    }
    
    public int getActualLength()
    {
        return actualLength;
    }
    
    public int getMaxLength()
    {
        return maxLength;
    }
}
